<?php
function quickSort(array $arr)
{
    if (count( $arr ) <= 1) {
        return $arr;
    }
    $baseIndex = floor( count( $arr ) / 2 );
    /*   $baseNum =*/
}
